package cn.hxth.api.service;

import cn.hxth.api.model.InstockRecord;
import cn.hxth.api.query.InstockRecordQueryObject;
import cn.hxth.api.query.PageResult;
import cn.hxth.api.query.QueryObject;

import java.util.List;

/**入库操作服务层
 *@author xia
 */
public interface IInstockRecordService {
    /**
     * 批量添加入库操作
     * @param instockRecordList
     * @return
     */
    public  boolean insertInstockRecord(List<InstockRecord> instockRecordList) ;
    public  InstockRecord getInstockRecord(int nio) ;
    public PageResult findAll(InstockRecordQueryObject instockRecordQueryObject) ;

    /**
     * 获取入库操作汇总信息，按商品规格分组
     * @param queryObject
     * @return
     */
    public  PageResult findAggrInfo(QueryObject queryObject) ;

}
